//
//  ViewController.m
//  MyJPush
//
//  Created by 于洪东 on 16/6/1.
//  Copyright © 2016年 于洪东. All rights reserved.
//

#import "ViewController.h"

#import "myCoreTest.h"


@interface ViewController ()<myCoreProtocol>

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.

    [myCoreTest addListener:self];
    
    
    myCoreTest *test = [myCoreTest sharedmyCoreTest];
    [test didSomething:@{@"key1":@"value1",@"key2":@"value2"}];


}

-(void)didSomething:(NSDictionary *)userInfo{
    NSLog(@"会运行到吗？==== %@",userInfo);
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
